#ifndef __BLACKCHESS_H__
#define __BLACKCHESS_H__

#include "../VT100/VT100.hpp"
#include "Chess.hpp"

/**
 * @brief 黑色棋子
 *
 */
class BlackChess : public Chess {
public:
  BlackChess(unsigned int displayPositionX, unsigned int displayPositionY)
      : Chess(displayPositionX, displayPositionY, 1) {}
  virtual ~BlackChess() {}
  void chessDisplay(void) {
    VT100::VT100SetColors(BG_WHITE, FG_BLACK);
    VT100::VT100SetTheCursor(getDisplayPositionX(), getDisplayPositionY());
    std::cout << "\u25CF ";
    VT100::VT100SetTheCursor(getDisplayPositionX(), getDisplayPositionY());
    VT100::VT100ClearTheConfiguration();
  }
};

#endif // __BLACKCHESS_H__